const fs = require("fs")
function writeJsFile(modelPath, indexStr) {
    fs.writeFile(modelPath, indexStr, (err, data) => {
        if (err) {
            console.log(err);
        }
    })
}

module.exports = writeJsFile;